added SSCLI 1.0
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / VBASPNETPreventMultipleWindows / UserControls / NextPage.ascx
blobb8d47c2ea2942fb451149e5d0df678af31f5e33a
1 <%@ Control Language="vb" AutoEventWireup="false" CodeBehind="NextPage.ascx.vb" Inherits="VBASPNETPreventMultipleWindows.NextPage" %>
2 <script type="text/javascript">
3     //If this window name not equal to sessions,will be goto InvalidPage
4     if (window.name != "<%=GetWindowName()%>") {
5         window.name = "InvalidPage";
6         window.open("InvalidPage.aspx", "_self");
7     }
8 </script>